package com.yuxl.admin.manager.auth.core.repository;

import com.yuxl.admin.manager.auth.core.entity.AuthRole;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface AuthRoleRepository extends R2dbcRepository<AuthRole, Long> {
    Flux<AuthRole> findByMark(String mark);
    Mono<AuthRole> findByMarkAndId(String mark, Long id);
    Mono<AuthRole> findById(Long id);
}
